﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace modelisation_protocole
{
    class Paquet
    {
        private string _texte;
        private TypeDeplacement _leTypeDeplacement;

        public TypeDeplacement LeTypeDeplacement
        {
            get { return _leTypeDeplacement; }
            set { _leTypeDeplacement = value; }
        }

        public string Texte
        {
            get { return _texte; }
            set { _texte = value; }
        }

        public Paquet(string texte, TypeDeplacement leTypeDeplacement)
        {
            this.Texte = texte;
            this.LeTypeDeplacement = leTypeDeplacement;
        }
    }
}
